﻿        
@if (Session["User"] == null)
{
    @Html.ActionLink(" ", "Login", "User", routeValues: null, htmlAttributes: new { @class = "link lnklogin" })
    @Html.ActionLink(" ", "Register", "User", routeValues: null, htmlAttributes: new { @class = "link lnkregister" })
}
else
{
    <ul style="list-style-type: none; display: block; margin: 0px; margin: 0 0 10px 25px;">
        <li style="display: inline; list-style-type: none; padding-right: 20px; font-size: 1.5em;">Hello 
            @Html.ActionLink(((Session["User"] as EagleProject.Models.UserInformation).UserName), "UserProfile", "User", null,
            new { @style = "text-transform: uppercase;" })
        </li>
        <li style="display: inline; list-style-type: none; padding-right: 20px; font-size: 1.5em;">
            @Html.ActionLink("Logout", "Logout", "User")
        </li>
        <li style="display: inline; list-style-type: none; padding-right: 20px; font-size: 1.5em;">
            @Html.ActionLink("Control Panel", "ControlPanel", "User")
        </li>

    </ul>
}

